package com.sale.goods.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sale.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 转账单
 * @Date 23-07-28
 * @Author hl
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("goods_turn")
public class GoodsTurn extends BaseEntity {

    /** 转账id */
    @TableId(value = "turn_id")
    private Long turnId;

    /** 转账人 */
    private String turnPeople;

    /** 转账单号 */
    private String turnCode;

    /** 转出账号 */
    private String turnOutAccount;

    /** 转入账号 */
    private String turnIntoAccount;

    /** 状态 */
    private Integer turnStatus;

    /** 金额 */
    private BigDecimal turnAmount;

    /** 结算方式 */
    private String calculateType;

    /** 结算单号 */
    private String calculateCode;

    /** 备注 */
    private String remark;

    /** 开单日期 */
    private String turnTime;

    /**
     * 审核人
     */
    private String examineBy;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date examineTime;


}
